import Vue from 'vue'
import Router from 'vue-router'
import Layout from '@/components/Layout'
import ContentA from "@/components/ContentA"
import ContentB from "@/components/ContentB"
import ContentC from "@/components/ContentC"
import SendCoin from "@/components/SendCoin"
import ShowAddress from "@/components/ShowAddress"
import  Settings from  "@/components/Settings"

import WalletDialog from "@/components/WalletDialog"

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'WalletDialog',
      component: WalletDialog,
      children:[
        {
          path: 'ContentA',
          component: ContentA
        },
        {
          path: 'ContentB',
          component: ContentB
        },
        {
          path: 'ContentC',
          component: ContentC
        },
        {
          path: 'SendCoin',
          component: SendCoin
        },
        {
          path: 'ShowAddress',
          component: ShowAddress
        },
        {
          path: 'Settings',
          component: Settings
        }
      ]
    }
  ]
})
